home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRREEEEAAAALLLLPPPPAAAATTTTHHHH((((1111)))) RRRREEEEAAAALLLLPPPPAAAATTTTHHHH((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- realpath - prints the real file name
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////lllliiiibbbb////ddddeeeesssskkkkttttoooopppp////rrrreeeeaaaallllppppaaaatttthhhh _p_a_t_h
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _r_e_a_l_p_a_t_h provides command-line access to the realpath(3C) library
- routine. _r_e_a_l_p_a_t_h uses the realpath(3C) library routine to resolve all
- links, symbolic links, and references to ``.'' and ``..'' in _p_a_t_h and
- prints the result to stdout. If the realpath(3C) call fails for any
- reason, _p_a_t_h is printed and a non-zero exit status is returned.
-
- The _r_e_a_l_p_a_t_h command is intended for use by developers who need access to
- absolute pathnames for their FTR rules.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
- Suppose that /usr/people/guest is a symlink to
- /otherdisk/usr/people/guest and that the current working directory is
- /usr/people/guest.
-
- % /usr/lib/desktop/realpath /usr/people/guest/.profile
- /otherdisk/usr/people/guest/.profile
- % echo $status
- 0
-
- % /usr/lib/desktop/realpath ../guest/.profile
- /otherdisk/usr/people/guest/.profile
- % echo $status
- 0
-
- % /usr/lib/desktop/realpath aBadFileName
- aBadFileName
- % echo $status
- 255
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- realpath(3C), readlink(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-